#pragma once

#include "includeBase.h"

namespace AppUtil {

int randomInt(int min = 0, int max = 100);
float randomFloat(float min = 0.0f, float max = 100.0f);
double randomDouble(double min = 0.0L, double max = 100.0L);

void showErrorMessageBox(std::exception& e);
void showErrorMessageBox(const QString& message);

std::wstring toWString(const std::string& str);
std::string toString(const std::wstring& str);

QString getAppFilePath(const QString& filePath);
}; // namespace AppUtil
